﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
namespace DTO
{
    [DataContract]
   public class Item
    {
        public const String c_id = "id";
        private Int32 m_Id = 0;
        [Key]
        [DataMember]
        public Int32 Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }
        public const String c_moduleId = "moduleId";
        private Int32 m_moduleId = 0;        
        [DataMember]
        public Int32 ModuleId
        {
            get { return m_moduleId; }
            set { m_moduleId = value; }
        }
        public const String c_itemTitle = "itemTitle";
        private String m_itemTitle = "";
        [DataMember]
        public String ItemTitle
        {
            get { return m_itemTitle; }
            set { m_itemTitle = value; }
        }

        public const String c_itemName = "itemName";
        private String m_itemName = "";
        [DataMember]
        public String ItemName
        {
            get { return m_itemName; }
            set { m_itemName = value; }
        }

        public const String c_url = "url";
        private String m_url = "";
        [DataMember]
        public String Url
        {
            get { return m_url; }
            set { m_url = value; }
        }
    }
}
